﻿using PMS.Data.Entities.Stores;
using System.Collections.Generic;
using System.Linq;

namespace PMS.Data.Entities.Messages
{
    /// <summary>
    /// Represents a short message template
    /// </summary>
    public partial class ShortMessageTemplate : BaseEntity, IStoreMappingSupported
    {
        /// <summary>
        /// Gets or sets the AccountId
        /// </summary>
        public int SmsAccountId { get; set; }

        /// <summary>
        /// 短信模板在数据库中的存储名，唯一
        /// </summary>
        public string SmsTemplateName { get; set; }

        /// <summary>
        /// Gets or sets the TemplateId which created by sms Provider
        /// </summary>
        public string TemplateId { get; set; }

        /// <summary>
        /// Gets or sets the useage of the SMS Template
        /// </summary>
        public string TemplateDescription { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether the template is active
        /// Setted on BaseEntity
        /// </summary>
        //public bool IsActive { get; set; }
        //public DateTime CreatedOnTimeUtc { get; set; }
        //public DateTime UpdatedOnTimeUtc { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether the entity is limited/restricted to certain stores
        /// </summary>
        public bool LimitedToStores { get; set; }

    }
}
